package com.xmb.common.controller;

import com.xmb.common.entity.structure.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lyndon on 2019/5/29.
 */
@RestController
public class HealthCheckController {

    @RequestMapping(value = {"health"}, method = {RequestMethod.GET}, produces = {"application/json"})
    public Result checkHealth() {
        return Result.success(null, "服务正常");
    }
}
